package com.dapeng.reactor;

public class MainStartup {

    public static void main(String[] args) {
        SelectorGroup boosGroup = new SelectorGroup(3, "thread-boss-");

        SelectorGroup workGroup = new SelectorGroup(3, "thread-work-");
        boosGroup.setWork(workGroup);

        boosGroup.bind(9090);
        boosGroup.bind(9091);
        boosGroup.bind(9092);
    }
}
